package com.mangohouse.util;

import org.apache.log4j.Logger;
import org.aspectj.lang.ProceedingJoinPoint;

/**
 * 
 * @TODO 日志管理类
 * @author roye
 * @date May 22, 2013 10:30:29 AM
 * @version V1.0
 */
public class LogManage {

	
	private static Logger logger = Logger.getLogger(LogManage.class);   
    public Object writeLog(ProceedingJoinPoint joinPoint) throws Throwable{   
        logger.info("开始----"+joinPoint);   
        Object object = joinPoint.proceed();   
        logger.info("结束----"+joinPoint);   
        return object;   
    }   
}
